﻿using Microsoft.Xna.Framework;

namespace kinect_music_shooter.GameWorld
{
    class Ball : GameObject
    {
        public Ball()
        {
            scale = 2.0f;
            //velocity = new Vector3(0, 0, -5.5f);
            //position = new Vector3(0, 0, GameplayScreen.STARTPOSITION);
        }

        public void Update()
        {
            position += velocity;
            boundingSphere.Center = position;
        }

        public void init()
        {
            velocity = new Vector3(0, 0, -5.5f);
            position = new Vector3(0, 0, GameplayScreen.BALL_STARTPOSITION);
        }
    }
}
